Skip to content

feat: add json check output#7

Merged
CoderDeltaLAN merged 1 commit into
mainfrom
feat/add-json-output
Jun 9, 2026
Merged

feat: add json check output#7
CoderDeltaLAN merged 1 commit into
mainfrom
feat/add-json-output

Conversation

@CoderDeltaLAN

Copy link
Copy Markdown
Owner

Adds JSON output for the check command.

Scope:

  • add --format console|json to check;
  • keep console output as default;
  • emit parseable JSON for ok, empty and error outcomes;
  • preserve exit codes 0, 1 and 2;
  • redact secret-like repository values in JSON output;
  • add CLI tests for JSON output and redaction.

Validation:

  • ./scripts/check.sh passed with 30 tests;
  • console output verified;
  • JSON ok output parsed with python -m json.tool;
  • JSON empty output returns exit 1;
  • JSON error output returns exit 2;
  • secret-like path values are redacted;
  • no raw secret-like literals in changed files.

@CoderDeltaLAN CoderDeltaLAN merged commit 0ba0190 into main Jun 9, 2026
1 check passed
@CoderDeltaLAN CoderDeltaLAN deleted the feat/add-json-output branch June 9, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant